//
//  CalculatorViewController.h
//  Calculator
//
//  Created by Willem van Willigen on 06/11/2010.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CalculatorBrain.h"
#import "GraphViewController.h"

@interface CalculatorViewController : UIViewController {
	@private
		UILabel *display;
		CalculatorBrain *brain;
		BOOL userIsInTheMiddleOfTypingANumber;
	GraphViewController *graphViewController;
}

@property (nonatomic, retain) IBOutlet UILabel *display;
@property (readonly) GraphViewController *graphViewController;

- (IBAction) digitPressed:(UIButton *)sender;
- (IBAction) operationPressed:(UIButton *)sender;
- (IBAction) dotPressed:(UIButton *)sender;
- (IBAction) varPressed:(UIButton *)sender;
- (IBAction) graphPressed:(UIButton *)sender;

- (CGSize) boundingBox;


@end

